<div class="actions">
	<?php
		echo $this->Html->link(
			__('Place order', true), array('controller' => 'Orders', 'action' => 'add'));
		echo $this->Html->link(
			__('List my orders', true), array('controller' => 'Orders', 'action' => 'indexUser'));
		echo $this->Html->link(
			__('Log out', true), array('controller' => 'Users', 'action' => 'logout'));
	?>
</div>

<?php if($isAdmin): ?>
<div class="actions">
	<?php
		echo $this->Html->link(
			__('List users', true), array('controller' => 'Users', 'action' => 'index'));
		echo $this->Html->link(
			__('Add user', true), array('controller' => 'Users', 'action' => 'add'));
	?>
</div>

<div class="actions">
	<?php
		echo $this->Html->link(
			__('List all orders', true), array('controller' => 'Orders', 'action' => 'index'));
		echo $this->Html->link(
			__('List new orders', true), array('controller' => 'Orders', 'action' => 'indexNew'));
		echo $this->Html->link(
			__('List orders in progress', true), array('controller' => 'Orders', 'action' => 'indexInProgress'));
		echo $this->Html->link(
			__('List preordered orders', true), array('controller' => 'Orders', 'action' => 'indexPreordered'));
		echo $this->Html->link(
			__('List orders on site', true), array('controller' => 'Orders', 'action' => 'indexOnSite'));
		echo $this->Html->link(
			__('List cleared orders', true), array('controller' => 'Orders', 'action' => 'indexCleared'));
	?>
</div>
<? endif; ?>
